/**
 * @copyright Copyright (c) 2025 CSG Digital Grid Technology (Guangdong) Co., Ltd.
 * @author Xie Jinhui
 */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CS_GETOPT_H
#define __CS_GETOPT_H

#include <stdint.h>

#define DEVINFO_CONFIG__DIR     "/etc/platapp/devinfo.conf"
#define TEMPER_CONFIG      		"/sys/class/hwmon/hwmon0/temp1_input"
#define TEMPER_CONFIG_D9        "/sys/class/thermal/thermal_zone0/temp"

/* 操作系统和芯片类型，软件版本号T后面的参数 */
#define  	MTK_OPENWRT 	1			
#define		FX_OPENWRT		2
#define     T5_OPENWRT		3
#define		D9340_OPENWRT	4
#define		D9310_OPENWRT	5
#define		MTK_EULAR 		11
#define		FX_EULAR		12
#define		T5_EULAR		13
#define		D9340_EULAR 	14
#define		D9310_EULAR 	15


typedef struct
{
	char *type;
	char *vendor;
	char *version;
} deviceTypeDef;

extern uint8_t getOptionParam(int argc, char **argv);

#endif /* __CS_GETOPT_H */
